package com.xposed.openfire.smack.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class FriendAdd {
    @Id(autoincrement = true)
    private Long id;
    @Property(nameInDb = "from")
    private String from;
    @Property(nameInDb = "to")
    private String to;
    @Property(nameInDb = "type")
    private String type;
    @Property(nameInDb = "time")
    private String time;
    @Generated(hash = 1808004552)
    public FriendAdd(Long id, String from, String to, String type, String time) {
        this.id = id;
        this.from = from;
        this.to = to;
        this.type = type;
        this.time = time;
    }
    @Generated(hash = 1429533072)
    public FriendAdd() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getFrom() {
        return this.from;
    }
    public void setFrom(String from) {
        this.from = from;
    }
    public String getTo() {
        return this.to;
    }
    public void setTo(String to) {
        this.to = to;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }
}
